package com.example.contadorcomida;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

public class BaseDeDatos extends SQLiteOpenHelper {
	private static int ACTUAL=1;

	public BaseDeDatos(Context context) {
		super(context, "Cys", null, ACTUAL);
	}

	@Override
	public void onCreate(SQLiteDatabase db) {
		db.execSQL("create table if not exists Pizza (_id INTEGER PRIMARY KEY, PizzasAComer INTEGER ,PizzasComidas INTEGER, " +
				"PizzasJyQComidas INTEGER, PizzasMuzzaComidas INTEGER, PizzasFugazzaComidas INTEGER, PizzasVienesaComidas INTEGER)"); 
	}

	@Override
	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
		
	}

}
